package cn.ywsj.ywsjmidtier.controller;

import cn.ywsj.ywsjmidtier.service.WechatSchedulelistFeign;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "清单列表")
@RestController
@RequestMapping("/wechat/member/srmschedulelistmgr")
public class WechatSchedulelistController {

    @Autowired
    private WechatSchedulelistFeign schedulelistFeign;

    /**
     * 订单消息列表
     * @param start
     * @param pageSize
     * @return
     */
    @ApiOperation("订单消息列表")
    @PostMapping("/ajaxorderlist")
    public String ajaxOrderList(Integer start,Integer pageSize) {
        return schedulelistFeign.ajaxOrderList(start,pageSize);
    }
}
